package edu.hawaii.nearestneighbor.classifications;


/**
 * Provides the extension to the classification data type to allow storing the confidence value.
 * @author Robert Puckett
 *
 */
public class ConfClassification extends Classification {
  /**
   * Contains the confidence measure for this classification.
   */
  public double confidence;

  /**
   * Creates a default instance of the confidence classification ADT.
   */
  public ConfClassification() {

  }
  
  /**
   * Creates an instance of the classification ADT with initialized values.
   * @param state The state of nature.
   * @param k The number of nearest neighbors used in the classification.
   * @param confidence the confidence threshold.
   */
  public ConfClassification(int state, int k, double confidence) {
    this.state = state;
    this.k = k;
    this.confidence = confidence;
  }

}
